package com.deyinet.bdcms.service.impl;


import com.deyinet.bdcms.core.dao.Dao;
import com.deyinet.bdcms.core.service.impl.BaseServiceImpl;
import com.deyinet.bdcms.dao.IDeviceDao;
import com.deyinet.bdcms.entity.Device;
import com.deyinet.bdcms.service.IDeviceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by Bacel on 2017/04/16.
 */
@Service
public class DeviceService extends BaseServiceImpl<Device> implements IDeviceService {

    @Autowired
    private IDeviceDao moduleDao;

    @Override
    protected Dao getDao() {
        return moduleDao;
    }

    @Override
    public List<Device> findMapDevice(Device device) {
        return moduleDao.findMapDevice(device);
    }

    @Override
    public List<Device> findByExampleLikeImport(Device var1) {
        return moduleDao.findByExampleLikeImport(var1);
    }
}